package cn.bone.ou.community.service;

import cn.bone.base.bean.CommonResult;
import cn.bone.ou.community.param.HouseParam;

import java.util.List;

public interface IHouseService {

    /**获取房屋列表*/
    CommonResult list(HouseParam.ListParam param);

    /**添加房屋*/
    CommonResult add(HouseParam.AddParam param);

    /**修改房屋*/
    CommonResult modify(HouseParam.ModifyParam param);

    /**启用房屋*/
    CommonResult usable(HouseParam.UsableParam param);

    /**禁用房屋*/
    CommonResult disable(HouseParam.DisableParam param);

    /**删除房屋*/
    CommonResult delete(HouseParam.DeleteParam param);

    /**批量导入*/
    CommonResult excelImport(List<HouseParam.ExcelImportParam> list,Integer communityId);
}
